<template>
	<view class="main">
		<u-navbar
		title="交易账单"
		title-size="34"
		back-icon-color="#ffffff"
		title-color="#ffffff"
		:border-bottom="false"
		:background="background">
		</u-navbar>
		<view class="content">
			<view class="item">
				<view class="left">
					<view class="title">支付宝提现</view>
					<view class="des">
						<text>支付宝支付</text>
						<text>2021-05-26 02:35</text>
					</view>
				</view>
				<view class="price">+4567.23</view>
			</view>
			<view class="item">
				<view class="left">
					<view class="title">整包项目12355退款</view>
					<view class="des">
						<text>人工支付</text>
						<text>2021-05-26 02:35</text>
					</view>
				</view>
				<view class="price">+4567.23</view>
			</view>
		</view>
		<view class="loading_more">
			<u-loadmore :status="status" />
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				background: {
					backgroundColor:"#4A90E2"
				},
				status: 'loadmore',
			}
		},
		onLoad() {
			
		},
		onShow() {
			
		},
		onPullDownRefresh() {
		    console.log('refresh');
		    setTimeout(function () {
		        uni.stopPullDownRefresh();
		    }, 1000);
		},
		methods: {
		
			//返回
			black(){
				uni.navigateBack()
			},
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		padding: 0 30rpx;
		.content{
			.item{
				padding: 30rpx 0;
				border-bottom: 1px solid #E6E6E6;
				display: flex;
				justify-content: space-between;
				align-items: flex-start;
				.left{
					.title{
						font-size: 32rpx;
						font-weight: 500;
						color: #333333;
						line-height: 45rpx;
					}
					.des{
						margin-top: 10rpx;
						text{
							font-size: 28rpx;
							color: #888888;
							line-height: 40rpx;
							&:last-child{
								margin-left: 20rpx;
							}
						}
					}
				}
				.price{
					font-size: 32rpx;
					font-weight: 500;
					color: #18B31E;
					line-height: 45rpx;
				}
			}
		}
		.loading_more{
			margin: 30rpx auto;
		}
	}
</style>
